package com.dly.blog.properties;

import com.dly.blog.content.StringContent;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@NoArgsConstructor
@ConfigurationProperties(prefix = ChatProperties.PREFIX)
public class ChatProperties {

    public static final String PREFIX =  StringContent.PROJECT + ".chat";

    private FLy fLy;

    @Data
    public static class FLy {

        private Boolean enable = false;

        private String appId;

        private String apiKey;

        private String apiSecret;

    }
}
